﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EM.FrameWork.Paging
{
    /// <summary>
    /// 分页实体类
    /// </summary>
    public class PageEntity
    {
        private int pageIndex = 1;
        /// <summary>当前页 </summary>
        public int PageIndex
        {
            get
            {
                return pageIndex;
            }
            set
            {
                pageIndex = value;
            }
        }

        private int pageSize = 10;
        /// <summary>每页条目数</summary>
        public int PageSize
        {
            get
            {
                return pageSize;
            }
            set
            {
                pageSize = value;
            }
        }
    }
}
